<%@ page import="com.sunelec.pojo.Users" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!doctype html>
<html lang="en">
<head>
    <title>报表中心</title>
    <meta name="renderer" content="webkit" />
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport"
          content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link href="${pageContext.request.contextPath}/static/css/font-awesome.css" rel="stylesheet" />
    <link href="${pageContext.request.contextPath}/static/css/bootstrap.min.css" rel="stylesheet" />
    <link href="${pageContext.request.contextPath}/static/css/reportCenter.css" rel="stylesheet" />
    <script src="${pageContext.request.contextPath}/static/js/jquery.min.js"></script>
    <script src="${pageContext.request.contextPath}/static/js/bootstrap.min.js"></script>
</head>
<body>
<div class="top">
    <div class="top-left">
        <div class="kong"></div>
        <div class="logo">
            <img src="${pageContext.request.contextPath}/static/imgs/logo3.png">
        </div>
    </div>
    <div class="top-right">
        <ul class="list">
            <li><a href="${pageContext.request.contextPath}/powerCenter.action?username=${username}">电站中心</a></li>
            <li><a href="checkCenter.jsp">运维中心</a></li>
            <li><a href="${pageContext.request.contextPath}/InReportCenter">报表中心</a></li>
            <li><a href="${pageContext.request.contextPath}/centralizedControl">展示中心</a></li>
            <% if(session.getAttribute("users")!=null){
                Users users = (Users)session.getAttribute("users");
            %>
            <% if(users.getType()==1){%>
            <li><a href="${pageContext.request.contextPath}/InidManage">账号管理</a></li>
            <% }%>
            <% } %>
            <li><a href="${pageContext.request.contextPath}/checkOut.action" ><span class="fa fa-user"></span></a></li>
        </ul>
    </div>
</div>
<div class="main">
    <div class="center">
        <div class="block block1">
            <div class="box">
                <a href="ReadyTarget?leveluser=${users.usersname}&type=${users.type}&target=stationRunTable">
                    <div class="boxTop">
                        <div class="topTitle"><span>电站运行情况表</span></div>
                        <div class="topDetile"><span>用光伏带给社会光明...</span></div>
                    </div>
                    <div class="boxBottom">
                        <span>点击查看详情 &nbsp;>></span>
                    </div>
                </a>
            </div>
            <div class="box">
                <a href="ReadyTarget?leveluser=${users.usersname}&type=${users.type}&target=deviceRunTable">
                    <div class="boxTop">
                        <div class="topTitle"><span>设备运行情况表</span></div>
                        <div class="topDetile"><span>用光伏带给社会光明...</span></div>
                    </div>
                    <div class="boxBottom">
                        <span>点击查看详情 &nbsp;>></span>
                    </div>
                </a>
            </div>
            <div class="box">
                <a href="ReadyTarget?leveluser=${users.usersname}&type=${users.type}&target=electricityTable">
                    <div class="boxTop">
                        <div class="topTitle"><span>发电量统计表</span></div>
                        <div class="topDetile"><span>用光伏带给社会光明...</span></div>
                    </div>
                    <div class="boxBottom">
                        <span>点击查看详情 &nbsp;>></span>
                    </div>
                </a>
            </div>
        </div>
        <div class="block block2">
            <div class="box1 box">
                <a href="ReadyTarget?leveluser=${users.usersname}&type=${users.type}&target=faultStatisticalTable">
                    <div class="boxTop">
                        <div class="topTitle"><span>故障情况统计表</span></div>
                        <div class="topDetile"><span>用光伏带给社会光明...</span></div>
                    </div>
                    <div class="boxBottom">
                        <span>点击查看详情 &nbsp;>></span>
                    </div>
                </a>
            </div>
            <div class="box2 box">
                <a href="ReadyTarget?leveluser=${users.usersname}&type=${users.type}&target=historyTable">
                    <div class="boxTop">
                        <div class="topTitle"><span>历史数据表</span></div>
                        <div class="topDetile"><span>用光伏带给社会光明...</span></div>
                    </div>
                    <div class="boxBottom">
                        <span>点击查看详情 &nbsp;>></span>
                    </div>
                </a>
            </div>
        </div>
    </div>
</div>
</body>
</html>
